The reason for the document level allowance expressed as text.
請求書レベルの返金の理由をテキストで表現。


About

Syntax binding
ubl:Invoice / cac:AllowanceCharge / cbc:AllowanceChargeReason
Restricted Syntax Cardinality
0..1
Example
値引
UBL 2.1
XPath
/ Invoice / cac:AllowanceCharge [ cbc:ChargeIndicator = false() ] / cbc:AllowanceChargeReason
Occurrence
0..n
Datatype
udt:TextType
UBL Definition
The reason for this allowance or charge.
Namespace
cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2

Semantic

Business Term

Document level allowance reason

請求書レベルの返金の理由
ID
ibt-097
Description
The reason for the document level allowance expressed as text.
請求書レベルの返金の理由をテキストで表現。
Cardinality
0..1
Semantic datatype
Text
Section
Shared

VERSION 1.0 RULE

Unchanged
Same as 0.9.3

VERSION 0.9.3 RULE
JP PINT 0.9.3 Shared rule
ibr-033(fatal)
Unchanged
Same as 0.9.2

VERSION 0.9.2 RULE
JP PINT 0.9.2 Shared rule
ibr-033(fatal)
Still valid
[ibr-033]-Each Document level allowance (ibg-20) MUST have a Document level allowance reason (ibt-097) or a Document level allowance reason code (ibt-098).
context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] |
/cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)

JP PINT 0.9 RULES (Obsoleted)
Shared Rules (0.9)
ibr-33(fatal)
[ibr-33]-Each Document level allowance (ibg-20) shall have a Document level allowance reason (ibt-097) or a Document level allowance reason code (ibt-098).
Context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] | /cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
Test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)
EN16931 model bound to UBL rules
BR-33 (fatal)
Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98).
context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] |
/cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)
BR-CO-05 (fatal)
Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance.
context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] |
/cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
test
true()
BR-CO-21 (fatal)
Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both.
context
/ubl:Invoice/cac:AllowanceCharge[cbc:ChargeIndicator = false()] |
/cn:CreditNote/cac:AllowanceCharge[cbc:ChargeIndicator = false()]
test
exists(cbc:AllowanceChargeReason) or
exists(cbc:AllowanceChargeReasonCode)